package com.healthtop.dao;

import com.healthtop.mapper.XsAdviceMapper;
import com.healthtop.model.XsAdvice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class XsAdviceDao {

    @Autowired
    private XsAdviceMapper xsAdviceMapper;

    public void addAdvice(XsAdvice xsAdvice) {
       xsAdviceMapper.insertSelective(xsAdvice);
    }
}
